/*
 * 作者: junmu
 * 时间: 2025-07-22
 */
package com.hzbc.faceattendance.service;

import com.hzbc.faceattendance.model.WhiteList;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface IWhitelistService {
    Page<WhiteList> getAllWhitelist(String keyword, Pageable pageable);
    WhiteList addToWhitelist(WhiteList whitelist);
    WhiteList updateWhitelist(Long id, WhiteList whitelist);
    void deleteFromWhitelist(Long id);

    WhiteList findByName(String whiteName);

    WhiteList save(WhiteList whiteList);
}